<font class="bigger_subject">Past investments</font>
<g:remoteLink controller="sell" action="register" update="register_sell">Register sell</g:remoteLink>
<br/>
<div id="register_sell"></div>
<hr />

<table width="750" class="listing_header">
  <tr>
    <td class="regular_subject" width="100">
      Ac. value
    </td>
    <td class="regular_subject" width="100">
      Sale value
    </td>
    <td class="regular_subject" width="150">
      Profit
    </td>
    <td class="regular_subject" width="400">

    </td>
  </tr>
</table>

<div id="allpast">
  <g:each in="${pastInvestments}">
    <div id="sell_${it.id}">
      <g:include controller="investments" action="past" id="${it.id}" />
    </div>
  </g:each>
</div>


<font class="regular_subject">
  Summary
</font><br/>
<g:render template="/investments/past_summary" />